import request from '@/utils/request'
import { praseStrEmpty } from "@/utils/ruoyi";


//查询走马灯图片列表
export function listNotable(query){
  return request({
    url: '/xiaomi-mall/notable/list',
    method: 'get',
    params: query
  })
}

//删除图片
export function delNotable(notableId){
  return request({
    url: '/xiaomi-mall/notable/' + notableId,
    method: 'delete'
  })
}

//新增图片
export function addPicture(data){
  return request({
    url: '/xiaomi-mall/notable',
    method: 'post',
    data: data
  })
}

